package test.san.baseproject.adapter

import android.content.Context
import test.san.baseproject.base.BaseListAdapter
import test.san.baseproject.model.BaseBean
import test.san.baseproject.widet.HomeItemView

class HomeAdapter : BaseListAdapter<BaseBean, HomeItemView>() {
    override fun refreshView(itemView: HomeItemView, data: BaseBean) {
        itemView.setData(data)
    }

    override fun getItemView(context: Context?): HomeItemView {
        return HomeItemView(context)
    }


}